home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / e / mailinglists / amigae.0294feb.archive / 000070_donews!crash!e…af.mil!mckinnej_Thu, 17 Feb 94 08:46:18 PST.msg < prev    next >
Internet Message Format  |  1994-05-26  |  6KB

  1. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  2.       id <1uu6@bkhouse.cts.com>; Thu, 17 Feb 94 08:46:18 PST
  3. Received: from crash by donews.cts.com with uucp
  4.     (Smail3.1.28.1 #18) id m0pWwB7-0002SXC; Wed, 16 Feb 94 19:01 EST
  5. Received: from emh.kadena.af.mil by crash.cts.com with smtp
  6.     (Smail3.1.28.1 #18) id m0pWvpS-00007tC; Wed, 16 Feb 94 15:38 PST
  7. Received: by emh.kadena.af.mil (5.60 pl1/25-eef)
  8.     id AA11692; Thu, 17 Feb 94 08:27:37 JST
  9. Message-Id: <9402170827.AA11692@emh.kadena.af.mil>
  10. Date: Thu, 17 Feb 1994 08:27:31 +0000 (JST)
  11. In-Reply-To: <940214224449.2043c447@iccgcc.cs.hh.ab.com> from "THORNTONJ@iccgcc.cs.hh.ab.com" at Feb 14, 94 10:44:49 pm
  12. Content-Type: text
  13. Content-Length: 283
  14. From: James Mckinney <mckinnej@emh.kadena.af.mil>
  15. To: AmigaE@bkhouse.cts.com
  16. Subject: Editor of choice
  17.  
  18. >   Now a question, not concerning FAE, what editor do those of you
  19. > who write large programs use?
  20.  
  21. I use Edge from Inovatronics.  It's a pretty new editor.  I like it a lot.
  22. It uses dictionaries like GoldEd does and does everything I ever wanted an
  23. editor to do.
  24.  
  25. Later,
  26.  
  27.      Jim
  28. From donews!crash!tso.uc.EDU!usr1400a Thu, 17 Feb 94 08:47:00 PST
  29. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  30.       id <1uv0@bkhouse.cts.com>; Thu, 17 Feb 94 08:47:00 PST
  31. Received: from crash by donews.cts.com with uucp
  32.     (Smail3.1.28.1 #18) id m0pWxat-0001ohC; Wed, 16 Feb 94 20:31 EST
  33. Received: from ROLL.SAN.UC.EDU by crash.cts.com with smtp
  34.     (Smail3.1.28.1 #18) id m0pWxPD-0000RsC; Wed, 16 Feb 94 17:19 PST
  35. Received: from tso.uc.edu by UCBEH.SAN.UC.EDU (PMDF V4.2-14 #4918) id
  36.  <01H8YRF938E89275M4@UCBEH.SAN.UC.EDU>; Wed, 16 Feb 1994 19:52:09 EST
  37. Received: by tso.uc.edu (4.1/SMI-4.1) id AA26291; Wed, 16 Feb 94 19:52:13 EST
  38. Date: Wed, 16 Feb 1994 19:52:13 -0500 (EST)
  39. Message-id: <9402170052.AA26291@tso.uc.edu>
  40. Content-transfer-encoding: 7BIT
  41. From: usr1400a@tso.uc.EDU (Carl Jolley)
  42. To: amigae@bkhouse.cts.COM
  43. Subject: Re: int to string's
  44.  
  45. > {Is there a E command to convert a number to a ASCII string?
  46. > Also what is the correct way to put an image on a Gadget button?
  47. > and memory for it.
  48.  
  49. I just want to one of hundreds of E users who are going to answer the
  50. part of your question about "number -> ascii string". Since the first
  51. public release of E, there has been the StringF function. It is related
  52. to the WriteF thusly: instead of a filehandle, the first parameter of
  53. a StringF function is an E string. What it does is that using the second
  54. parameter as a formatting string it then converts the remaining parameters
  55. as specified by the formatting string but instead of then writing the
  56. result to the filehandle parameter as in a WriteF, it just puts the
  57. output string into the E-string parameter that is the first parameter of
  58. the StringF command. Thus to convert a number to a string one could do:
  59.  
  60. StringF(str,'\d',num)
  61.  
  62. As I said before, E has the function, but Wouter has not documented it so
  63. that's why you probably don't know about it. I'm not sure if the semantics
  64. of the function have changed since 2.0 but as of that version, StringF was
  65. an arithmetic valued function. The result of the function was the
  66. difference between the maximum length of the string variable and the number
  67. of characters that were output by the function to the E-string parameter OR
  68. to look at it another way, the result is the number of characters that
  69. remain avaiable to be used. Please note that there is no restriction to
  70. the format string and thus the StringF function, in addition to being
  71. used to output a number as an ascii string (I assume you meant as a decimal
  72. number), it could also be used to convert a number to an ascii string that
  73. is the hexidecimal representation [ StringF(str,'\h',num) ] or it could be
  74. used to do other strange things such as concatconate two (or more) strings:
  75.  
  76. StringF(str_out,'\s\s',str1,str2)
  77.  
  78. It could also be used as a substitute to the StrCopy function:
  79.  
  80. StringF(str_out,'string literal')
  81.  
  82. Maybe the reason Wouter didn't document the StringF function is that it
  83. would take to much space to document all the ways it could be used. (:-D)
  84. Also, with a StringF function, at least two other E functions would not be
  85. needed, i.e. StrAdd and StrCopy.
  86. From donews!crash!suburbia.apana.org.au!trax Thu, 17 Feb 94 08:48:24 PST
  87. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  88.       id <1uwm@bkhouse.cts.com>; Thu, 17 Feb 94 08:48:24 PST
  89. Received: from crash by donews.cts.com with uucp
  90.     (Smail3.1.28.1 #18) id m0pX0sv-0001q2C; Thu, 17 Feb 94 00:02 EST
  91. Received: from yarrina.connect.com.au by crash.cts.com with smtp
  92.     (Smail3.1.28.1 #18) id m0pX0Xk-0000JCC; Wed, 16 Feb 94 20:40 PST
  93. Received: from werple.apana.org.au by yarrina.connect.com.au with SMTP id AA03192
  94.   (5.67b8/IDA-1.5 for <AmigaE@bkhouse.cts.com>); Thu, 17 Feb 1994 14:37:23 +1100
  95. Received: from suburbia.apana.org.au (root@suburbia.apana.org.au [192.188.107.90]) by werple.apana.org.au (8.6.5/8.6.5) with ESMTP id OAA25552 for <AmigaE@bkhouse.cts.com>; Thu, 17 Feb 1994 14:37:14 +1100
  96. Received: from localhost (trax@localhost) by suburbia.apana.org.au (8.6.4/8.6.4) id OAA01168 for AmigaE@bkhouse.cts.com; Thu, 17 Feb 1994 14:38:07 +1100
  97. Message-Id: <199402170338.OAA01168@suburbia.apana.org.au>
  98. Date: Thu, 17 Feb 1994 14:38:05 +1100 (EST)
  99. In-Reply-To: <27893.9402150855@piaggio.maths.nott.ac.uk> from "Darren Parr" at Feb 15, 94 08:55:24 am
  100. X-Mailer: ELM [version 2.4 PL23]
  101. Content-Type: text
  102. Content-Length: 211
  103. From: "Andre Dedio" <trax@suburbia.apana.org.au>
  104. To: AmigaE@bkhouse.cts.com
  105. Subject: Re: citas
  106.  
  107. Look for a program call CConvert.lha. That will change dpaint brushes to raw
  108. data.
  109. -- 
  110. ----------------------------------------
  111. trax@suburbia.apana.org.au was here!!!!!
  112. ========================================